package com.wang.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {
    @NotEmpty(message = "手机号不能为空")
    private String mobile;
    @NotEmpty(message = "无效的密码")
    private String password;
    @NotEmpty(message = "图片验证码不能为空")
    private String imageCode;
    @NotEmpty(message = "验证码不能为空")
    private String smsCode;
    private int regChannel;
}
